<!--#include file="pj2.asp"-->
<!DOCTYPE html>
<html>
<head>
  <title>医师列表</title>
<%
' sessionExpire
easp.include "h.asp"
dim tn
tn="log1"
%>
  <link rel="stylesheet" href="/dzps/src/layuiadmin/style/template.css" media="all">
</head>
<body>
<div class="layui-fluid" >
		<div class="layui-card"><br>
		  <div class="layui-form layui-card-header layuiadmin-card-header-auto">
			<span class="layui-breadcrumb" lay-separator="|">
			<%
			dim i,s
			for i=0 to 7
				s="<a href='[dy:href]'>[dy:日期]</a>"
				echo replace(s,"[dy:日期]",Format_Time(now()+i,7)) 
			next
			%>
			</span>
		</div>		  
      <div class="layui-card-body">
        <dl class="layuiadmin-card-status">
        <%
          dim arr,title_
          sql="select id,title,cover_path,description,content from tzp  where (1=1) and (2=2) and (3=3) and (5=5) and (6=6) order by id desc"
          if val("log1_search")<>"" then
            sql=replace(sql,"1=1","questionDescription like '%"& val("log1_search") &"%'")
          end if
          arr= sql2arr(sql)

          if ubound(arr)>0 then
            for i=0 to ubound(arr,2)
              title_=arr(2,i)
              echo myjs1 ("img_div.html","mysrc|"& arr(4,i) & ",truename|"& arr(1,i) & ",data-id|"& arr(0,i) & ",content|"&title_&",time|"&arr(3,i))
            next
          end if
        %>
        </dl> 
	  </div>
</div>
</div>
  <script src="/<%=rootpath%>/src/layuiadmin/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '/<%=rootpath%>/src/layuiadmin/'
  }).extend({
    index: 'lib/index' //主入口模块
  }).use(['index', 'console','useradmin', 'sample', 'table','laydate','laypage'], function(){
    var $ = layui.$
	,laydate = layui.laydate
    ,form = layui.form
    ,admin = layui.admin
,laypage = layui.laypage	
    ,table = layui.table;

	form.on('submit(sx1)', function(data){
 	  var field = data.field;
      table.reload('<%=tn%>', {
        where: field
      });
      layer.msg('已刷新sx1');
	});
    table.on('tool(<%=tn%>)',
    function(obj) {
        var data = obj.data;
		if (obj.event === '<%=tn%>_overtime_send') {
			var _this = $(this);
			alert(data.mobile);
			table.reload('<%=tn%>');
		}		
	
	});		
  });
  </script>
</body>
</html>